<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>通知</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no,email=no" />
		<link rel="stylesheet" href="../css/mui.min.css">			
		<link rel="stylesheet" type="text/css" href="../css/mui.picker.min.css" />
		<link rel="stylesheet" href="../css/OA.css" />
		
	</head>
	<body>
		<script src="../js/mui.min.js"></script>
		<script src="../js/mui.picker.min.js"></script>
		<script src="../js/app.js"></script>
		<script type="text/javascript" charset="utf-8">
			 //mui初始化
			mui.init();
					
		</script>
		<header class="mui-bar mui-bar-nav">
		    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		    <h1 class="mui-title">通知</h1>
		</header>
		<div class="mui-content transparent">
			<ul class="mui-table-view" id="rows">
				<li class="mui-table-view-cell mui-media">
					<a data-href="www.baidu.com/con?1" class="c-href"> 					
						<div class="mui-media-body">
							<div class="name-time">
							<span class="inform-name">关于春节假期的安排</span><span class="inform-time">2014/12/10</span>
							</div>
							
						</div>
					</a>
				</li>
				<li class="mui-table-view-cell mui-media">
					<a data-href="www.baidu.com/con?20" class="c-href"> 
						
						<div class="mui-media-body">
							<div class="name-time">
							<span class="inform-name">关于***的处罚决定</span><span class="inform-time">2014/12/10</span>
							</div>
							
						</div>
					</a>
				</li>
				
			</ul>
		</div>
		
		<script>
		mui.plusReady(function() {
			/*页面跳转*/
				mui('.mui-content').on('tap', '.c-href', function() {
						console.log("进来了"); 
						var href=this.getAttribute('data-href').toLowerCase(),
							id;
						if(href.indexOf('com')>=0){
							console.log("进来了"); 	
							id=href.split('/GetExamineStartMsg?')[1]; 
							console.log(id);
							
//							showProduct(id);
						 	himall.openVW('inform-msg.html','',{topicId:id});
													
						} 
						else{
							plus.runtime.openURL(href);
							
						}
				});
		})
		</script>
	</body>
</html>
